<extend name="Public/layout"/>
<block name="head">
  <link rel="stylesheet" href="__PUBLIC__css/circle-infor.css?A=<php>echo time()</php>">
  <script src="__PUBLIC__js/jquery.nicescroll.min.js"></script>
<style type="text/css">
.footer{
  display: none;
}
</style>
</block>
<block name="main">
<div class="container">
      <div class="top">
        <div class="item-top">
          <div class="item-right">
            <img src="{$res.user.url_img}"  onclick="location.href='/Home/person/center/id/{$res.user.id}'">
            <div class="user">
              <h4>{$res.user.nickname}</h4>
              <img src="__PUBLIC__images/ad-star.png">
                <!--<if condition="$grade.is_invest eq 1">
                  <p>已投</p>
                </if>-->
            </div>
            <div class="comment">
               <ul>
                  <li>
                    <span class="letter-cloak">信披解读</span>
                  </li>
                </ul>
            </div>
          </div>
                <switch name="colligate" >
                <case value="1" break="1"><div class="btn-sug"></div></case>
                <case value="2"><div class="btn-set"></div> </case>
                <case value="3"><div class="btn-pru"></div> </case>
                <case value="4"><div class="btn-no"></div> </case>
                </switch> 
          <div class="infor-schedule">
            <div class="schedule-title">
              <h4>平台信披进度</h4>
            </div>
            <div class="infor-per">
              <div class="per-havef">
                  <p>{$infos.v}%</p>
              </div>
              <div class="per-item">
                <span class="per-item-up"><span class="per-item-lower" id="all_lower"></span></span>
              </div>
              <div class="per-remind">
                <span>0%</span>
                <span class="remind-center">50%</span>
                <span>100%</span>
              </div>
            </div>
          </div>
        </div>
      </div>
      
       <div class="monthly">
        <a <if condition="$platform_report.id gt 0"><else/>style='display:none'</if> href="/Home/News/news_info/id/{$platform_report.news_id}" class="month-title">
              <h4>{$infos.platform_name}{$platform_report.title}信批报告</h4>
              <img src="__PUBLIC__images/path.png" height="25" width="16">
            </a>  
      </div>

      <div class="infor-container">
        <ul>
          <li>
            <a  href="#" class="month-item function-detail">
              <div class="month-left">
                <h4>平台基础信息</h4>
              </div>
              <div class="month-center">
                <span class="plat-per-up"><span class="plat-per-lower" id="basics"></span></span>
                <p>{$info.basics.v}%</p>
              </div>
              <div class="month-right clearfix">
                <img src="__PUBLIC__images/path.png">
              </div>            
            </a>
          </li>
          <li>
            <a href="#" class="month-item govern">
              <div class="month-left">
                <h4>平台治理信息</h4>
              </div>
              <div class="month-center">
                <span class="plat-per-up"><span class="plat-per-lower" id="govern"></span></span>
                <p>{$info.govern.v}%</p>
              </div>
              <div class="month-right clearfix">
                <img src="__PUBLIC__images/path.png">
              </div>
            </a>
          </li>
          <li>
            <a href="#" class="month-item account">
              <div class="month-left">
                <h4>平台财会信息</h4>
              </div>
              <div class="month-center">
                <span class="plat-per-up"><span class="plat-per-lower" id="finance"></span></span>
                <p>{$info.finance.v}%</p>
              </div>
              <div class="month-right clearfix">
                <img src="__PUBLIC__images/path.png">
              </div>
            </a>
          </li>
          <li>
            <a href="#" class="month-item operate">
              <div class="month-left">
                <h4>平台运营信息</h4>
              </div>
              <div class="month-center">
                <span class="plat-per-up"><span class="plat-per-lower" id="operate"></span></span>
                <p>{$info.operate.v}%</p>
              </div>
              <div class="month-right clearfix">
                <img src="__PUBLIC__images/path.png">
              </div>
            </a>
          </li>
          <li class="clearfix">
            <a href="#" class="month-item project">
              <div class="month-left">
                <h4>平台项目信息</h4>
              </div>
              <div class="month-center">
                <span class="plat-per-up"><span class="plat-per-lower" id="obj"></span></span>
                <p>{$info.obj.v}%</p>
              </div>
              <div class="month-right clearfix">
                <img src="__PUBLIC__images/path.png">
              </div>
            </a>
            <div class="infor-comment">
                <p>{$res.announce}</p>
              </div>
              <div class="item-time">
                  <p>{$res.add_date}</p>
                </div>
                <div class="item-left left-top">
                  <if condition="$res.is_praise eq 0">
                    <div class="item-no" onclick="praise(this,9,{$res.id})">
                      <img src="__PUBLIC__images/comment-no.png" height="26" width="28">
                  <else/>
                    <div class="item-good" onclick="praise(this,9,{$res.id})">
                      <img src="__PUBLIC__images/comment-good.png" height="26" width="28">
                  </if>
                    
                    <span>{$res.praise}</span>
                  </div>
          </li>
        </ul>
      </div>
</div>

<div class="circle-comment">
    <div class="comment-title">
      <h4>评论</h4>
      <p>{$res.comment}</p>
    </div>
    <div class="comment-item">
     <ul>
      
        <foreach name="comment" item="v">
          <li>
            <a href="javascript:" class="clearfix">
                <div class="item-top">
                    <div class="item-right">
                      <img src="{$v.user.url_img}">
                      <div class="user">
                        <h4>{$v.user.nickname}</h4>
                      </div>
                    </div>
               </div>
                <div class="item-bottom">
                  <p>{$v.content}</p>
                </div>
                <div class="item-time">
                  <p>{$v.add_date}</p>
                </div>
                <div class="item-left">
                  <if condition="$v.is_praise eq 0">
                    <div class="item-no" onclick="comment_praise(this,{$v.id})">
                      <img src="__PUBLIC__images/comment-no.png" height="26" width="28">
                  <else/>
                    <div class="item-good" onclick="comment_praise(this,{$v.id})">
                      <img src="__PUBLIC__images/comment-good.png" height="26" width="28">
                  </if>
                    
                    <span>{$v.praise_count}</span>
                  </div>
                 <div class="item-com"  onclick="comment_tab({$_GET['id']},{$v.id},{$v.id})" >
                    <img src="__PUBLIC__images/comment.png" height="25" width="28">
                    <span>回复</span>
                  </div>

                </div>
             </a>
        
              <ul>
                <foreach name="v.kid" item="va">
                <li>
                  <a href="#" class="clearfix">
                        <div class="item-top">
                            <div class="item-right">
                               <img src="{$va.user.url_img}">
                              <div class="user">
                                 <h4>{$va.user.nickname}</h4>
                              </div>
                            </div>
                       </div>
                        <div class="item-bottom">
                          <p>@{$v.user.nickname}：{$va.content}</p>
                        </div>
                        <div class="item-time">
                          <p>{$va.add_date}</p>
                        </div>
                     </a>
                </li>
                </foreach>
              </ul>
          </li>
          </foreach>
      </ul>

   <!--  <div class="loading">
        <span class="loading-left"></span>
        <p>加载中</p>
        <span class="loading-right"></span>
      </div>
      <div class="base-line">
        <span class="base-left"></span>
        <p>我是有底线的</p>
        <span class="base-right"></span>
      </div> -->
  </div>
  </div>
  <!-- 我要说两句 -->
  <div class="bottom-item">
    <p class="comment-inp" onclick="comment_tab({$_GET['id']},0,0)" >我要说两句</p>
  </div>
  <!-- 评论输入框 -->
<div class="comment-info">
    <div class="comment-title">
          <h4>发表评论</h4>
          <img class="comment-hidden" src="__PUBLIC__images/bottom.png">
    </div>
    <div class="content">
      <textarea class="comment-textarea" cols="5" type="text" maxlength="200" placeholder="您已实名认证，请根据您的情况作出实际评价，不造谣，不夸大。一旦发现评论出现恶意造谣等虚假信息，将对评论本人进行曝光，封号处理，如有违法，将提交公安机关处理。" autofocus="true"></textarea>
      <p class="comment-send"> 发送</p>
    </div>
</div>

        <!-- 平台基础信息弹窗 -->
    <div class="platform-process">
      <div class="platform-item">
        <div class="plat-title clearfix">
          <h4>平台基础信息</h4>
          <p class="function-sure">确定</p>
        </div>
        <div class="fun-per">
          
            <div class="per-have">
              <p class="basics-have">{$info.basics.v}%</p>
            </div>
          
          <div class="fun-item">
            <span class="fun-item-up"><span class="fun-item-lower"  id="basics_b"></span></span>
          </div>
          <div class="fun-remind2">
            <span class="zero">0%</span>
            <span class="remind-center">50%</span>
            <span class="all">100%</span>
          </div>
        </div>
        <div class="plat-container">
          <div class="plat-tip">
            <div class="plat-have">
              <img src="__PUBLIC__images/plat-have.png">
              <p>已办理</p>
            </div>
            <div class="plat-ing">
              <img src="__PUBLIC__images/plat-ing.png">
              <p>正在办理</p>
            </div>
            <div class="plat-pro">
              <img src="__PUBLIC__images/plat-problem.png">
              <p>未有进度报告</p>
            </div>
          </div>
          <ul>
            <li class="clearfix">
              <if condition='$info["basics"]["plat_name"] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info["basics"]["plat_name"] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <else/>
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>平台全称及简称</p>
            </li>


            <li class="clearfix">
              <if condition='$info[basics][plat_add] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][plat_add] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][plat_add] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>平台注册地址</p>
            </li>
            
             <li class="clearfix">
              <if condition='$info[basics][capital] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][capital] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][capital] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>平台注册资本及实缴资本</p>
            </li>
            <li  class="clearfix">
              <if condition='$info[basics][online] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][online] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][online] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>平台成立时间</p>
            </li>
            <li  class="clearfix">
              <if condition='$info[basics][legal] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][legal] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][legal] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>平台法定代表人</p>
            </li>
             <li  class="clearfix">
              <if condition='$info[basics][treaty] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][treaty] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][treaty] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>注册协议模板</p>
            </li>
            <li  class="clearfix">
              <if condition='$info[basics][branch] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][branch] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][branch] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>平台及其各分支机构经营场所</p>
            </li>
            <li  class="clearfix">
              <if condition='$info[basics][deposit] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][deposit] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][deposit] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>客户资金存管情况</p>
            </li>
             <li  class="clearfix">
              <if condition='$info[basics][perm] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][perm] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][perm] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>相应电信业务经营许可信息</p>
            </li>
            <li  class="clearfix">
              <if condition='$info[basics][evals] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][evals] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][evals] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>信息安全测评认证信息</p>
            </li>

            <li  class="clearfix">
              <if condition='$info[basics][scope] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][scope] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][scope] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>平台经营范围（工商登记的经营范围）</p>
            </li>
             <li  class="clearfix">
              <if condition='$info[basics][records] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][records] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][records] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>地方金融监管部门备案登记信息</p>
            </li>
       <li  class="clearfix">
              <if condition='$info[basics][recordss] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][recordss] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][recordss] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>网站备案</p>
            </li>
       <li  class="clearfix">
              <if condition='$info[basics][deposit_report] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][deposit_report] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][deposit_report] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>存管报告</p>
            </li>
       <li  class="clearfix">
              <if condition='$info[basics][contact] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][contact] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][contact] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>联系方式</p>
            </li>
            <li  class="clearfix">
              <if condition='$info[basics][insure] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][insure] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][insure] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>与保险机构、担保机构等各类涉及个体网络借贷业务相关的第三方机构合作情况，包括第三方机构基本信息、合作内容和范围，以及权利和义务；实际控制人、持股 5%以上的股东与保险机构、担保机构等各类第三方合作机构的关联关系；</p>
            </li>
          </ul>
        </div>
        <div class="cancle fun-cancle">
          <p>取消</p>
        </div>
      </div>
    </div>
    <!-- 平台治理信息弹窗 -->
    <div class="platform-govern">
      <div class="govern-item platform-item clearfix">
        <div class="plat-title clearfix">
          <h4>平台治理信息</h4>
          <p class="govern-sure">确定</p>
        </div>
        <div class="fun-per">
          
            <div class="per-have">
              <p class="govern-have">{$info.govern.v}%</p>
            </div>
          
          <div class="fun-item">
            <span class="fun-item-up"><span class="fun-item-lower"  id="govern_b"></span></span>
          </div>
          <div class="fun-remind2">
            <span class="zero">0%</span>
            <span class="remind-center">50%</span>
            <span class="all">100%</span>
          </div>
        </div>
        <div class="plat-container">
          <div class="plat-tip">
            <div class="plat-have">
              <img src="__PUBLIC__images/plat-have.png">
              <p>已办理</p>
            </div>
            <div class="plat-ing">
              <img src="__PUBLIC__images/plat-ing.png">
              <p>正在办理</p>
            </div>
            <div class="plat-pro">
              <img src="__PUBLIC__images/plat-problem.png">
              <p>未有进度报告</p>
            </div>
          </div>
          <ul>
              <li class="clearfix">
               <if condition='$info[govern][tissue] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[govern][tissue] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[govern][tissue] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>组织架构（指包括从业机构部门设置及职能规划等基本结构，应至少披露组织架构中部门设置情况）</p>
            </li>
            <li class="clearfix">
               <if condition='$info[govern][control] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[govern][control] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[govern][control] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>实际控制人与持股 5%以上的股东的名单</p>
            </li>
             <li class="clearfix">
              <if condition='$info[govern][director] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[govern][director] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[govern][director] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>董事、监事、高级管理人员名单。高级管理人员一般指总经理、副总经理、财务负 责人及公司章程规定的其它高级管理人员。</p>
            </li>
            
          </ul>
        </div>
        <div class="cancle gov-cancle">
          <p>取消</p>
        </div>
      </div>
    </div>
    <!-- 平台财会信息弹窗 -->
    <div class="platform-account">
      <div class="account-item platform-item clearfix">
        <div class="plat-title clearfix">
          <h4>平台财会信息</h4>
          <p class="account-sure">确定</p>
        </div>
        <div class="fun-per">
          
            <div class="per-have">
              <p class="finance-have">{$info.finance.v}%</p>
            </div>
         
          <div class="fun-item">
            <span class="fun-item-up"><span class="fun-item-lower" id="finance_b"></span></span>
          </div>
          <div class="fun-remind2">
            <span class="zero">0%</span>
            <span class="remind-center">50%</span>
            <span class="all">100%</span>
          </div>
        </div>
        <div class="plat-container">
          <div class="plat-tip">
            <div class="plat-have">
              <img src="__PUBLIC__images/plat-have.png">
              <p>已办理</p>
            </div>
            <div class="plat-ing">
              <img src="__PUBLIC__images/plat-ing.png">
              <p>正在办理</p>
            </div>
            <div class="plat-pro">
              <img src="__PUBLIC__images/plat-problem.png">
              <p>未有进度报告</p>
            </div>
          </div>
          <ul>
             <li class="clearfix">
              <if condition='$info[finance][audit] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[finance][audit] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[finance][audit] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>财务审计报告</p>
            </li>
            <li class="clearfix">
              <if condition='$info[finance][financing] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[finance][financing] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[finance][financing] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>重要融资信息</p>
            </li>
      
       <li class="clearfix">
              <if condition='$info[finance][accountant] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[finance][accountant] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[finance][accountant] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>会计报表</p>
            </li>
          </ul>
        </div>
        <div class="cancle acc-cancle">
          <p>取消</p>
        </div>
      </div>
    </div>
    <!-- 平台运营信息弹窗 -->
    <div class="platform-operate">
       <div class="operate-item platform-item clearfix">
        <div class="plat-title clearfix">
          <h4>平台运营信息</h4>
          <p class="operate-sure">确定</p>
        </div>
        <div class="fun-per">
        
            <div class="per-have">
              <p class="operate-have">{$info.operate.v}%</p>
            </div>
          
          <div class="fun-item">
            <span class="fun-item-up"><span class="fun-item-lower" id="operate_b"></span></span>
          </div>
          <div class="fun-remind2">
            <span class="zero">0%</span>
            <span class="remind-center">50%</span>
            <span class="all">100%</span>
          </div>
        </div>
        <div class="plat-container" id="operate-container">
          <div class="plat-tip">
            <div class="plat-have">
              <img src="__PUBLIC__images/plat-have.png">
              <p>已办理</p>
            </div>
            <div class="plat-ing">
              <img src="__PUBLIC__images/plat-ing.png">
              <p>正在办理</p>
            </div>
            <div class="plat-pro">
              <img src="__PUBLIC__images/plat-problem.png">
              <p>未有进度报告</p>
            </div>
          </div>
          <ul>
            <li class="clearfix">
              <if condition='$info[operate][trade] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][trade] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][trade] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>交易总额</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][stroke] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][stroke] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][stroke] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>交易总笔数</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][borrow] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][borrow] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][borrow] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>借款人总数</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][invest] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][invest] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][invest] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>投资人总数</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][compen] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][compen] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][compen] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>代偿金额</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][exceed] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][exceed] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][exceed] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>逾期金额</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][limit] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][limit] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][limit] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>项目逾期率</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][limit_num] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][limit_num] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][limit_num] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>逾期项目数</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][pre_borrow] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][pre_borrow] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][pre_borrow] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>人均累计借款金额</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][pre_invest] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][pre_invest] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][pre_invest] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>人均累计投资金额</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][single_finan] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][single_finan] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][single_finan] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>单笔均融资金额</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][one_balance] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][one_balance] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][one_balance] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>最大单户借款余额占比</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][ten_balance] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][ten_balance] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][ten_balance] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>最大十户借款余额占比</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][one_invest] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][one_invest] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][one_invest] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>最大单户投资余额占比</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][ten_invest] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][ten_invest] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][ten_invest] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>最大十户投资余额占比</p>
            </li>
            <li class="clearfix">
               <if condition='$info[operate][history] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][history] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][history] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>历史逾期项目数</p>
            </li>
            <li class="clearfix">
               <if condition='$info[operate][add_borrow] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][add_borrow] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][add_borrow] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>历史人均累计借款金额</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][add_invest] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][add_invest] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][add_invest] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>历史人均累计投资金额</p>
            </li>
          </ul>
        </div>
        <div class="cancle ope-cancle">
          <p>取消</p>
        </div>
      </div>
    </div> 
    <!-- 平台项目信息弹窗 -->
    <div class="platform-project">
      <div class="project-item platform-item clearfix">
        <div class="plat-title clearfix">
          <h4>平台项目信息</h4>
          <p class="project-sure">确定</p>
        </div>
        <div class="fun-per">
          
            <div class="per-have">
              <p class="obj-have">{$info.obj.v}%</p>
            </div>
                    <div class="fun-item">
            <span class="fun-item-up"><span class="fun-item-lower" id="obj_b"></span></span>
          </div>
          <div class="fun-remind2">
            <span class="zero">0%</span>
            <span class="remind-center">50%</span>
            <span class="all">100%</span>
          </div>
        </div>
        <div class="plat-container">
          <div class="plat-tip">
            <div class="plat-have">
              <img src="__PUBLIC__images/plat-have.png">
              <p>已办理</p>
            </div>
            <div class="plat-ing">
              <img src="__PUBLIC__images/plat-ing.png">
              <p>正在办理</p>
            </div>
            <div class="plat-pro">
              <img src="__PUBLIC__images/plat-problem.png">
              <p>未有进度报告</p>
            </div>
          </div>
          <ul>
             <li class="clearfix">
              <if condition='$info[obj][project] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[obj][project] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[obj][project] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>项目简介</p>
            </li>
            <li class="clearfix">
              <if condition='$info[obj][guarantee] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[obj][guarantee] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[obj][guarantee] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>还款保障措施</p>
            </li>
            <li class="clearfix">
              <if condition='$info[obj][risk] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[obj][risk] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[obj][risk] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>项目风险提示</p>
            </li>
            <li class="clearfix">
              <if condition='$info[obj][useing] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[obj][useing] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[obj][useing] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>借款用途</p>
            </li>
            <li class="clearfix">
              <if condition='$info[obj][cost] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[obj][cost] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[obj][cost] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>相关费用</p>
            </li>
            <li class="clearfix">
              <if condition='$info[obj][contract] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[obj][contract] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[obj][contract] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>合同模板</p>
            </li>
            <li class="clearfix">
              <if condition='$info[obj][project_info] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[obj][project_info] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[obj][project_info] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>项目基础信息（金额，投资期限，起投金额，计息日，收益率，还款方式，项目状态）</p>
            </li>
          </ul>
        </div>
        <div class="cancle pro-cancle">
          <p>取消</p>
        </div>
      </div>
    </div>
</block>
<block name="js">

    <script type="text/javascript">

function comment_praise(obj,id){
    $.post('{:U("Praise/ajax_praise")}',{
                id:id,
                video_id:id,
                type:3,
            },function(res){
              console.log(res)
               if(res.err==0){
                  $(obj).removeClass('item-no')
                  $(obj).addClass('item-good')
                  $(obj).find('img').attr('src','/App/Home/Public/images/comment-good.png')
                  var num = $(obj).find('span').text()
                  var n =parseInt(num)+1
                  $(obj).find('span').text(n)

               }else if(res.err==2){
                    layer.open({
                      content: res.msg
                      ,skin: 'msg'
                      ,time: 1
                      ,end: function () {
                              location.href = "/Home/User/login?callback=/Home/circle/depth_info/id/{$_GET['id']}/platform_id/{$_GET['platform_id']}"
                            }
                      });
               }else{
                    layer.open({
                      content: res.msg
                      ,skin: 'msg'
                      ,time: 1
                      });
               }
    })
  }
  function praise(obj,type,id){
        var userid = "{$_SESSION['user']['id']}"
         if(!userid){
            layer.open({
                    content: '请先登录！'
                    , skin: 'msg'
                    , time: 1
                    , end: function () {
                        location.href = "/Home/User/login?callback=/Home/circle/commentary_info/id/{$_GET['id']}/platform_id/{$_GET['platform_id']}"
                    }
                });
        }
          $.post('/Home/Praise/ajax_praise',{
            announceid:id,
            id:id,
            type:type,
          },function(res){
            if(res.err==0){
              $(obj).removeClass('item-no')
              $(obj).addClass('item-good')
              $(obj).find('img').attr('src','/App/Home/Public/images/comment-good.png')
              var num=parseInt($(obj).find('span').text())
              num = num+1
              $(obj).find('span').text(num)
            }else{
              layer.open({
                    content: res.msg
                    , skin: 'msg'
                    , time: 1
                    
              });
            }
          })
        
  }

  function comment_tab(id,id_parent,pid){
    $('.comment-info').css('display','block');
    $('.comment-send').attr('onclick',"add_coments(this,1,"+id_parent+","+pid+")")
  }

      $('.comment-hidden').click(function(){
        $('.comment-info').css('display','none');
      });
     //发表评论
    function add_coments(obj,type,id_parent,pid){
      var userid = "{$_SESSION['user']['id']}"
         if(!userid){
            layer.open({
                    content: '请先登录！'
                    , skin: 'msg'
                    , time: 1
                    , end: function () {
                        location.href = "/Home/User/login?callback=/Home/circle/depth_info/id/{$_GET['id']}/platform_id/{$_GET['platform_id']}"
                    }
                });
            return;
        }

      if(!id_parent){
          var id_parent=0;
      }
      var id_target = "{$_GET['id']}";

      var content = $(obj).prev('Textarea').val();
      if(!content){
          layer.open({
            content:'请输入评论内容！'
            ,skin: 'msg'
            ,time: 1
          });
                   return;
      }
    $.post('{:U("comment/add_coments")}',{
        content:content,
        id_parent:id_parent,
        type:7,
        id_target:id_target,
        p_id:pid,
        target_title:'{$info.title}',
    },function(res){
        if(res.err==0){
            $(obj).prev().val('');
            //ajax 无刷新添加评论
            if(type==1){
                 layer.open({
                content: res.msg
                ,skin: 'msg'
                ,time: 1
                ,end:function(){location.reload()}
                });
            }else{
                layer.open({
                    content: res.msg
                    ,skin: 'msg'
                    ,time: 1
                    ,end:function(){$(obj).parent().parent('.comment-info').css('display','none');}
                });
            }

            if(type==2){
            }
           
        }else{
            layer.msg(res.msg)
        }
        
    })
}


    $(function(){
      $('.per-havef').css('margin-left','{$infos.v}%')
      $('#all_lower').css('width','{$infos.v}%')
      $('#basics').css('width','{$info.basics.v}%')
      $('#govern').css('width','{$info.govern.v}%')
      $('#finance').css('width','{$info.finance.v}%') 
      $('#operate').css('width','{$info.operate.v}%')
      $('#obj').css('width','{$info.obj.v}%')

      $('#basics_b').css('width','{$info.basics.v}%')
      $('#govern_b').css('width','{$info.govern.v}%')
      $('#finance_b').css('width','{$info.finance.v}%')
      $('#operate_b').css('width','{$info.operate.v}%')
      $('#obj_b').css('width','{$info.obj.v}%')

      $('.basics-have').css('left','{$info.basics.v}%')
      $('.govern-have').css('left','{$info.govern.v}%')
      $('.finance-have').css('left','{$info.finance.v}%')
      $('.operate-have').css('left','{$info.operate.v}%')
      $('.obj-have').css('left','{$info.obj.v}%')
    })
        // 点击平台基础信息弹窗
    $('.function-detail').click(function() {   
      $('.platform-process').css('display','block');
      $('.plat-container').getNiceScroll().show();
      $('.plat-container').getNiceScroll().resize();
     $('.plat-container').niceScroll({
          cursorcolor: "#ccc",//#CC0071 光标颜色
          cursoropacitymax: 1, //改变不透明度非常光标处于活动状态（scrollabar“可见”状态），范围从1到0
          touchbehavior: false, //使光标拖动滚动像在台式电脑触摸设备
          cursorwidth: "5px", //像素光标的宽度
          cursorborder: "0", // 游标边框css定义
          cursorborderradius: "5px",//以像素为光标边界半径
          autohidemode: true ,//是否隐藏滚动条
          preventmultitouchscrolling: true
      });
     document.addEventListener("touchmove",function(e){
          e.preventDefault();
          e.stopPropagation();
      },false);
    });
    $('.function-sure').click(function(){
      $('.platform-process').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });
    $('.fun-cancle').click(function(){
      $('.platform-process').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });


    // 点击平台治理信息弹窗
    $('.govern').click(function() {
      $('.platform-govern').css('display','block');
      document.addEventListener("touchmove",function(e){
          e.preventDefault();
          e.stopPropagation();
      },false);
    });
    $('.govern-sure').click(function(){
      $('.platform-govern').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });
    $('.gov-cancle').click(function(){
      $('.platform-govern').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });

    // 点击平台财会信息弹窗
    $('.account').click(function() {
      $('.platform-account').css('display','block');
      document.addEventListener("touchmove",function(e){
          e.preventDefault();
          e.stopPropagation();
      },false);
    });
    $('.account-sure').click(function(){
      $('.platform-account').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });
    $('.acc-cancle').click(function(){
      $('.platform-account').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });

    // 点击平台运营信息
    $('.operate').click(function() {
      $('.platform-operate').css('display','block');
      $('#operate-container').getNiceScroll().show();
      $('#operate-container').getNiceScroll().resize();
     $('#operate-container').niceScroll({
          cursorcolor: "#ccc",//#CC0071 光标颜色
          cursoropacitymax: 1, //改变不透明度非常光标处于活动状态（scrollabar“可见”状态），范围从1到0
          touchbehavior: false, //使光标拖动滚动像在台式电脑触摸设备
          cursorwidth: "5px", //像素光标的宽度
          cursorborder: "0", // 游标边框css定义
          cursorborderradius: "5px",//以像素为光标边界半径
          preventmultitouchscrolling: true,
          autohidemode: true //是否隐藏滚动条
      });
     document.addEventListener("touchmove",function(e){
          e.preventDefault();
          e.stopPropagation();
      },false);
    });
    $('.operate-sure').click(function(){
      $('.platform-operate').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });
    $('.ope-cancle').click(function(){
      $('.platform-operate').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });

    // 点击平台项目信息弹窗
    $('.project').click(function() {
      $('.platform-project').css('display','block');
      document.addEventListener("touchmove",function(e){
          e.preventDefault();
          e.stopPropagation();
      },false);
    });
    $('.project-sure').click(function(){
      $('.platform-project').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });
    $('.pro-cancle').click(function(){
      $('.platform-project').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });

     $('.comment-inp').click(function(event) {
        $('.comment-info').css('display','block');
      });
      $('.comment-hidden').click(function(){
        $('.comment-info').css('display','none');
      })
    
    var colligate = {$colligate};
    
    if(colligate==1){
      var title="放心投-{$infos.platform_name}舆情解读！"
    }else if(colligate==2){
      var title="可以投-{$infos.platform_name}舆情解读！"
    }else if(colligate==3){
      var title="谨慎投-{$infos.platform_name}舆情解读！"
    }else if(colligate==4){
      var title="不要投-{$infos.platform_name}舆情解读！"
    }
    
    var desc = '{$res.user.nickname}--舆情解读！'
    var link=window.location.href
    var imgUrl='http://wei.8hjie.com/App/Home/Public/images/chat-icon.png' 
    
    </script>
</block>